#!/usr/bin/env python 

""""
Copyright 2010-2011 Vincent Gauthier
Email: vincent.gauthier@telecom-sudparis.eu
"""


# Import CSV library 
import csv
# Import matplotlib
import pylab 

reader = csv.reader(open('test.csv','rb'), delimiter='\t')

x = list()
y = list()
for line in reader:
    if line[0] == '+':
        print line
        x.append(line[1])
        y.append(line[2])

pylab.figure()
pylab.plot(x,y,'*-')
pylab.show()